import os
import  UDM_file

file_path = "C:\\Github\\Learn-Matplotlib\\spectrum\\data"

def method_1():
    for root, dirs, files in os.walk(file_path):
        print("Root:",root)
        print("Dictionary:", dirs)
        print("Files:", files)

def method_2():
    current_path = os.path.abspath(__file__)
    print(type(current_path))
    print("【·】", current_path.split("\\")[-1])



if (__name__ == "__main__"):
    # method_2()
    # for i in range(45):
    #     print(i*15)
    # STR_data_folder = r"C:\\Github\\Learn-Matplotlib\\spectrum\\data\\"
    # STR_image_folder = r"C:\\Github\\Learn-Matplotlib\\spectrum\\images\\"
    # LIST_file_list = UDM_file.get_filename(STR_data_folder)
    # for STR_file_name in LIST_file_list:
    #     STR_image_name = STR_file_name.split("s")[0]
    #     print(STR_file_name.split(".")[-2])
    time = [i*15 for i in range(1,41)]
    print(time)